{template '_header'}

<div class="page-header">
    当前位置：<span class="text-primary">{if !empty($industry['id'])}编辑{else}添加{/if}行业分红{if !empty($industry['id'])}({$industry['name']}){/if}</span>
</div>

<div class="page-content">

<form id="setform"  {ifp 'platform.industry.bonus'}action="" method="post"{/if} class="form-horizontal form-validate">

<input type="hidden" name="id" value="{$industry['id']}" />

<div class="tabs-container">
    <div class="tab-content ">

            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-8">
                    <strong>提示：输入40等于40%分红 、  输入10.5等于10.5%分红</strong>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">省级运营商</label>
                <div class="col-sm-8">
                    {ifp 'platform.industry.bonus'}
                    <input type="text" class="form-control" name="shengji" value="{$item['shengji']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['shengji']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">区域运营商</label>
                <div class="col-sm-8">
                    {ifp 'platform.industry.bonus'}
                    <input type="text" class="form-control" name="quyu" value="{$item['quyu']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['quyu']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">行业服务商</label>
                <div class="col-sm-8">
                    {ifp 'platform.industry.bonus'}
                    <input type="text" class="form-control" name="hangye" value="{$item['hangye']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['hangye']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">一级分销商</label>
                <div class="col-sm-8">
                    {ifp 'platform.industry.bonus'}
                    <input type="text" class="form-control" name="tuijian" value="{$item['tuijian']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['tuijian']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">二级分销商</label>
                <div class="col-sm-8">
                    {ifp 'platform.industry.bonus'}
                    <input type="text" class="form-control" name="tuijian2" value="{$item['tuijian2']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['tuijian2']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">三级分销商</label>
                <div class="col-sm-8">
                    {ifp 'platform.industry.bonus'}
                    <input type="text" class="form-control" name="tuijian3" value="{$item['tuijian3']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['tuijian3']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">消费者</label>
                <div class="col-sm-8">
                    {ifp 'platform.industry.edit'}
                    <input type="text" class="form-control" name="xiaofei" value="{$item['xiaofei']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['xiaofei']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">公司</label>
                <div class="col-sm-8">
                    {ifp 'platform.industry.bonus'}
                    <input type="text" class="form-control" name="gongsi" value="{$item['gongsi']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['gongsi']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">技术</label>
                <div class="col-sm-8">
                    {ifp 'platform.industry.bonus'}
                    <input type="text" class="form-control" name="jishu" value="{$item['jishu']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['jishu']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">奖金池</label>
                <div class="col-sm-8">
                    {ifp 'platform.industry.bonus'}
                    <input type="text" class="form-control" name="jiangjin" value="{$item['jiangjin']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['jiangjin']}
                    </div>
                    {/if}
                </div>
            </div>

        </div>
</div>

{ifp 'platform.industry.bonus'}
<div class="form-group">
    <label class="col-sm-2 control-label"></label>
    <div class="col-sm-9 col-xs-12">
        <input type="submit"  value="提交" class="btn btn-primary" />
    </div>
</div>
{/if}

</form>
</div>
{template '_footer'}